package com.iuie.ns.datum.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.iuie.ns.datum.vo.DevProjectVO;
import com.iuie.ns.frame.persistence.annotations.MyBatisRepository;

/**
 * 项目-mapper
 * @author liujie
 * @date 2018-02-03 15:42:13
 */
@MyBatisRepository
public interface DevProjectMapper {

	/**
	 * 分页查询
	 * @param page
	 * @param condition
	 * @return
	 */
	List<DevProjectVO> findByCondition(@Param("condition") DevProjectVO condition);
	
	/**
	 * 根据Id删除
	 * @param id
	 */
	void deleteById(Long id);
	
	/**
	 * 新增
	 * @param item
	 */
	void addOne(@Param("item") DevProjectVO item);
	
	/**
	 * 修改
	 * @param item
	 */
	void updateOne(@Param("item") DevProjectVO item);
	
	/**
	 * 根据Id删除
	 * @param id
	 * @return
	 */
	DevProjectVO findById(Long id);
}
